# coding:utf-8
# 作者：理想国真恵玩
import pandas as pd

df = pd.read_csv('data/stock.csv')

# 查询开盘价在23到24之间的数据
result = df.query('open<24 & open>23').head()
print(result)
